using System;
using System.Collections.Generic;
using System.Text;

namespace MacomberMap.Common.Events
{
    /// <summary>
    /// This class handles an event communications error
    /// </summary>
    public class MM_Event_CommError: MM_Event_SystemError
    {
        /// <summary>The name of the request</summary>
        public String RequestName;

       

        /// <summary>
        /// Initialize a new communications error
        /// </summary>
        /// <param name="RequestName">The name of the request</param>
        /// <param name="Error">The error </param>
        public MM_Event_CommError(String RequestName, Exception Error): base(Error)
        {
            this.RequestName = RequestName;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="OutMenu"></param>
        public override void AddMenuItems(System.Windows.Forms.ContextMenuStrip OutMenu)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override System.Windows.Forms.ListViewItem BuildListViewItem()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="OutParent"></param>
        public override void DisplayDetails(System.Windows.Forms.Control OutParent)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="lvItem"></param>
        public override void UpdateListViewItem(System.Windows.Forms.ListViewItem lvItem)
        {
            throw new Exception("The method or operation is not implemented.");
        }
    }
}